import { createStore , applyMiddleware} from 'redux'
import thunk from 'redux-thunk'  //要使用异步action

import RootReducer from './reducer'

export default createStore(
    RootReducer,
    applyMiddleware(thunk)
)


